Feature: Posts
Scenarios
|
Chart |
Status Progress |
||||
|---|---|---|---|---|---|
|
1
|
|
||||
| Total duration: | |||||
| 1m 42.228s |
Scenario: Como usuario administrador quiero modificar un post ya publicado para después editar su contenido
Before
0m 1.404s
Given
I navigate to page "http://localhost:2368/ghost/#/signin"
0m 2.238s
And
I wait for 5 seconds
0m 5.546s
And
I enter email "<USERNAME2>"
0m 0.553s
And
I wait for 1 seconds
0m 1.362s
And
I enter password "<PASSWORD2>"
0m 0.450s
And
I wait for 1 seconds
0m 1.573s
And
I click sign in button with selector "button[data-test-button='sign-in']"
0m 0.928s
And
I wait for 7 seconds
0m 7.904s
When
I go to the tags section with selector "a[data-test-nav='tags']"
0m 0.704s
And
I wait for 1 seconds
0m 1.533s
And
I click new tag button with selector "a.ember-view.gh-btn.gh-btn-primary"
0m 0.807s
And
I wait for 1 seconds
0m 1.415s
And
I enter title "nuevo-tag" into field with selector "input[id='tag-name']"
0m 0.512s
And
I wait for 1 seconds
0m 1.586s
And
I click in the save button
0m 0.528s
And
I wait for 1 seconds
0m 1.588s
And
I go back to the tags section clicking the tags button with selector "a[data-test-nav='tags']"
0m 0.579s
And
I wait for 1 seconds
0m 1.802s
And
I click the new tag in order to edit it "nuevo-tag"
0m 0.727s
And
I wait for 1 seconds
0m 1.657s
And
I enter title "tag-modified" into field with selector "input[id='tag-name']"
0m 0.645s
And
I wait for 1 seconds
0m 1.576s
Then
I click in the save button
0m 0.730s
And
I wait for 1 seconds
0m 1.431s
And
I go back to the tags section clicking the tags button with selector "a[data-test-nav='tags']"
0m 0.521s
And
I wait for 1 seconds
0m 1.563s
And
I validate that the title of the tag was modified successfully with "tag-modified"
0m 0.349s
+ Show Error
AssertionError
+ expected - actual
-kmfce
+tag-modified
at KrakenWorld.<anonymous> (D:\MISO\Ciclo 2\Pruebas automatizadas de software\Semana 5\the-software-design-company\Entrega-semana-5\kraken\features\web\step_definitions\step_tags.js:48:40)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
And
I send a signal to user 2 containing "Scenario1 complete"
0m 0.000s
After
0m 0.017s
Screenshots
Before
NO IMAGE AVAILABLE
Given
I navigate to page "http://localhost:2368/ghost/#/signin"
And
I wait for 5 seconds
And
I enter email "<USERNAME2>"
And
I wait for 1 seconds
And
I enter password "<PASSWORD2>"
And
I wait for 1 seconds
And
I click sign in button with selector "button[data-test-button='sign-in']"
And
I wait for 7 seconds
When
I go to the tags section with selector "a[data-test-nav='tags']"
And
I wait for 1 seconds
And
I click new tag button with selector "a.ember-view.gh-btn.gh-btn-primary"
And
I wait for 1 seconds
And
I enter title "nuevo-tag" into field with selector "input[id='tag-name']"
And
I wait for 1 seconds
And
I click in the save button
And
I wait for 1 seconds
And
I go back to the tags section clicking the tags button with selector "a[data-test-nav='tags']"
And
I wait for 1 seconds
And
I click the new tag in order to edit it "nuevo-tag"
And
I wait for 1 seconds
And
I enter title "tag-modified" into field with selector "input[id='tag-name']"
And
I wait for 1 seconds
Then
I click in the save button
And
I wait for 1 seconds
And
I go back to the tags section clicking the tags button with selector "a[data-test-nav='tags']"
And
I wait for 1 seconds
And
I validate that the title of the tag was modified successfully with "tag-modified"
And
I send a signal to user 2 containing "Scenario1 complete"
NO IMAGE AVAILABLE
After
NO IMAGE AVAILABLE